package com.zygh.lz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;


@Data
@Accessors(chain = true)
@ApiModel(value = "XareaRecord对象", description = "岗位变更记录表表")
public class XareaRecord implements Serializable {
    @ApiModelProperty(value = "区域表")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "区域名称")
    private String name;

    @ApiModelProperty(value = "修改人")
    private String updateBy;


    @ApiModelProperty(value = "岗位（高峰岗，固定岗，流动岗，重点保障单位岗4)")
    private String station;

    @ApiModelProperty(value = "类型（是点线面）")
    private String type;

    @ApiModelProperty(value = "GPS坐标")
    private String gps;

    @ApiModelProperty(value = "中心点")
    private String centre;

    @ApiModelProperty(value = "所属大队")
    private String battalion;

    @ApiModelProperty(value = "所属中队")
    private String detachment;

    @ApiModelProperty(value = "网格")
    private String gridding;

    @ApiModelProperty(value = "部门ID")
    private Integer sectionZid;

    @ApiModelProperty(value = "大队ID")
    private Integer sectionDid;

    @ApiModelProperty(value = "类别(1：新增   2：修改   3：删除)")
    private Integer recordType;

    @ApiModelProperty(value = "区域管理id")
    private Integer xareaId;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}